package day3.demo9;

import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.List;

public class Test {
    public static void main1(String[] args) {
        SimpleDateFormat format = new SimpleDateFormat("YYYY-MM-dd");
        String[] arr = new String[] { "2022-09-10", "2020-09-11", "2023-09-12", "2012-09-23", "2000-06-19"};
        for (int i = 0; i < 5; i++) {
            new MyThread(format, arr[i]).start();
        }
    }
}
